package cn.coderliu.apis;


import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "gts-product")
public interface ProductApis {


    @PostMapping(value = "/product/add")
    void add(@RequestParam("count") Integer count);


    @PostMapping(value = "/product/reduce")
    void reduce(@RequestParam("count") Integer count);
}
